package com.itheima.config;

/**
 * @author father
 * @date 2021/12/3
 * @apiNote
 **/
public class BaseContext {
    private final static ThreadLocal<Long> tl = new ThreadLocal<>();

    public static void set(Long id) {
        tl.set(id);
    }

    public static Long get() {
        return tl.get();
    }
}
